package singleton.fromKanYun.hungry;

/**
 * @Author cyc
 * @Date 2019/4/7/007 23:51
 */
public class Singleton {
    private static Singleton instance = new Singleton();

    private Singleton(){}

    public static Singleton getInstance() {
        return instance;
    }
    public void info() {
        System.out.println("this is a hungry method...");
    }
}
